.class public Lroboguice/inject/ContextScope$WeakActiveStack;
.super Ljava/lang/Object;
.source "ContextScope.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# instance fields
.field private a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lroboguice/inject/ContextScope$WeakActiveStack$Node",
            "<TT;>;"
        }
    .end annotation
.end field

.field private b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lroboguice/inject/ContextScope$WeakActiveStack$Node",
            "<TT;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 183
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 184
    return-void
.end method


# virtual methods
.method public a()Ljava/lang/Object;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .prologue
    .line 269
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 270
    :goto_0
    if-eqz v0, :cond_1

    .line 271
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->c:Ljava/lang/ref/WeakReference;

    invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    .line 272
    if-nez v1, :cond_0

    .line 273
    invoke-virtual {p0, v0}, Lroboguice/inject/ContextScope$WeakActiveStack;->a(Lroboguice/inject/ContextScope$WeakActiveStack$Node;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    move-result-object v0

    goto :goto_0

    :cond_0
    move-object v0, v1

    .line 278
    :goto_1
    return-object v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method

.method protected a(Lroboguice/inject/ContextScope$WeakActiveStack$Node;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lroboguice/inject/ContextScope$WeakActiveStack$Node",
            "<TT;>;)",
            "Lroboguice/inject/ContextScope$WeakActiveStack$Node",
            "<TT;>;"
        }
    .end annotation

    .prologue
    const/4 v2, 0x0

    .line 296
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-ne p1, v0, :cond_0

    .line 297
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 298
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-nez v0, :cond_4

    .line 299
    iput-object v2, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 305
    :cond_0
    :goto_0
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-eqz v0, :cond_1

    .line 306
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iget-object v1, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 309
    :cond_1
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-eqz v0, :cond_2

    .line 310
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iget-object v1, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 313
    :cond_2
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-ne p1, v0, :cond_3

    .line 314
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 315
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v2, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 318
    :cond_3
    iget-object v0, p1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    return-object v0

    .line 301
    :cond_4
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v2, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    goto :goto_0
.end method

.method public a(Ljava/lang/Object;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    const/4 v3, 0x0

    .line 203
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-nez v0, :cond_1

    .line 204
    new-instance v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    invoke-direct {v0, p1}, Lroboguice/inject/ContextScope$WeakActiveStack$Node;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 205
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 235
    :cond_0
    :goto_0
    return-void

    .line 207
    :cond_1
    invoke-virtual {p0, p1}, Lroboguice/inject/ContextScope$WeakActiveStack;->c(Ljava/lang/Object;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    move-result-object v0

    .line 208
    if-nez v0, :cond_2

    .line 209
    new-instance v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    invoke-direct {v0, p1}, Lroboguice/inject/ContextScope$WeakActiveStack$Node;-><init>(Ljava/lang/Object;)V

    .line 210
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 211
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v0, v1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 212
    iput-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    goto :goto_0

    .line 214
    :cond_2
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-eq v0, v1, :cond_0

    .line 216
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-ne v0, v1, :cond_3

    .line 217
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 218
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v3, v1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 221
    :cond_3
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-eqz v1, :cond_4

    .line 222
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iget-object v2, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v2, v1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 225
    :cond_4
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    if-eqz v1, :cond_5

    .line 226
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iget-object v2, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v2, v1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 229
    :cond_5
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 230
    iget-object v1, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v0, v1, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 231
    iput-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 232
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    iput-object v3, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    goto :goto_0
.end method

.method public b(Ljava/lang/Object;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 286
    invoke-virtual {p0, p1}, Lroboguice/inject/ContextScope$WeakActiveStack;->c(Ljava/lang/Object;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    move-result-object v0

    .line 287
    invoke-virtual {p0, v0}, Lroboguice/inject/ContextScope$WeakActiveStack;->a(Lroboguice/inject/ContextScope$WeakActiveStack$Node;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 288
    return-void
.end method

.method protected c(Ljava/lang/Object;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)",
            "Lroboguice/inject/ContextScope$WeakActiveStack$Node",
            "<TT;>;"
        }
    .end annotation

    .prologue
    .line 328
    iget-object v0, p0, Lroboguice/inject/ContextScope$WeakActiveStack;->a:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    .line 329
    :goto_0
    if-eqz v0, :cond_2

    .line 330
    iget-object v1, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->c:Ljava/lang/ref/WeakReference;

    invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    .line 331
    if-nez v1, :cond_0

    .line 332
    invoke-virtual {p0, v0}, Lroboguice/inject/ContextScope$WeakActiveStack;->a(Lroboguice/inject/ContextScope$WeakActiveStack$Node;)Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    move-result-object v0

    goto :goto_0

    .line 333
    :cond_0
    invoke-virtual {v1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 339
    :goto_1
    return-object v0

    .line 336
    :cond_1
    iget-object v0, v0, Lroboguice/inject/ContextScope$WeakActiveStack$Node;->b:Lroboguice/inject/ContextScope$WeakActiveStack$Node;

    goto :goto_0

    .line 339
    :cond_2
    const/4 v0, 0x0

    goto :goto_1
.end method
